<?php

namespace Jhub1_Common\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\AnnotationRegistry;

/**
 * @ORM\Entity
 * @ORM\Table(name="ofGroup")
 */
class OfGroup
{
    /**
     * @ORM\Id
     * @ORM\Column(type="string", name="groupName", length=50, unique=true, nullable=false);
     * @var string
     */
    private $groupName;

    /**
     * @ORM\Column(type="string", name="description", length=255, nullable=true)
     * @var string
     */
    private $description;

    public function getGroupName()
    {
        return $this->groupName;
    }

    public function setGroupName($val)
    {
        $this->groupName = $val;
    }

    public function getDescription()
    {
        return $this->description;
    }

    public function setDescription($val)
    {
        $this->description = $val;
    }

}

/*CREATE TABLE ofGroup
(
    groupName VARCHAR(50) PRIMARY KEY NOT NULL,
    description VARCHAR(255)
);*/
